<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        input{
            appearance: none;
            width: 16px;
            height: 16px;
            border: 1px solid red;
            vertical-align: text-top;
            line-height: 16px;
            text-align: center;
            border-radius: 50%;
        }
        input::after{
            content: "\2726";
            color: #fff;
        }
        input:checked{
            background-color:yellow;
        }

    </style>
</head>
<body>
    <form action="">
        <input type="radio" name="sex">nan
        <input type="radio" name="sex">nv
        <input type="checkbox">1
        <input type="checkbox">2
        <input type="checkbox">3
    </form>
</body>
</html>